package com.kang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kang.bean.bot.Subject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SubjectMapper extends BaseMapper<Subject> {
    List<Subject> getByTextAndType(@Param("text") String text, @Param("type") String type);
}
